package com.sunyzc.ebaotech.simulator.soap.einsurance;

import com.sunyzc.ebaotech.simulator.soap.AbstractSOAPProcessor;

/**
 * 1001 - 保费试算(104) <br>
 * 1002 - 新单承保(102) <br>
 * 1003 - 承保前撤件(204) <br>
 */
public class EINSURANCEProcessor extends AbstractSOAPProcessor {
	private final static String SERVICE_NAME = "EInsurance";
	private final static String METHOD_NAME = "exchange";
	private final static String CLIENT_CODE = "EINSURANCE";
	private final static String APPLY_CODE_TYPE = "067";
	private final static String POLICY_CODE_TYPE = null; // TODO

	@Override
	public Object[] getRequestParams(String requestTransType, String requestBodyContentStr) {
		return new Object[] { requestTransType, requestBodyContentStr };
	}

	@Override
	protected String getServiceName() {
		return SERVICE_NAME;
	}

	@Override
	protected String getMethodName() {
		return METHOD_NAME;
	}

	@Override
	protected String getClientCode() {
		return CLIENT_CODE;
	}

	@Override
	protected String getApplyCardCode() {
		return APPLY_CODE_TYPE;
	}

	@Override
	protected String getPolicyCardCode() {
		return POLICY_CODE_TYPE;
	}
}
